package com.clkj.goldpartner.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

/**
 * @author Administrator
 */
@ApiModel(value = "销售出库")
@Table(name = "t_cl_outStock")
public class OutStock implements Serializable {


    @Id
    @Column(name = "outStock_id", updatable = false)
    @ApiModelProperty(value = "null")
    private Integer outStock_id;

    @Column(name = "shop_id")
    @ApiModelProperty(value = "null")
    private Integer shop_id;

    /**
     * 客户id
     */
    @Column(name = "customer_id")
    @ApiModelProperty(value = "客户id")
    private Integer customer_id;

    /**
     * 业务员id
     */
    @Column(name = "saleman_id")
    @ApiModelProperty(value = "业务员id")
    private Integer saleman_id;

    /**
     * 交货日期
     */
    @Column(name = "out_date")
    @ApiModelProperty(value = "交货日期")
    private String out_date;

    /**
     * 交货地点
     */
    @Column(name = "out_address")
    @ApiModelProperty(value = "交货地点")
    private String out_address;

    /**
     * 备注1
     */
    @Column(name = "step1_node")
    @ApiModelProperty(value = "备注1")
    private String step1_node;

    /**
     * 核对员id
     */
    @Column(name = "check_id")
    @ApiModelProperty(value = "核对员id")
    private Integer check_id;

    /**
     * 仓库id
     */
    @Column(name = "warehouse_id")
    @ApiModelProperty(value = "仓库id")
    private Integer warehouse_id;

    /**
     * 出库员id
     */
    @Column(name = "outMan_id")
    @ApiModelProperty(value = "出库员id")
    private Integer outMan_id;

    @ApiModelProperty(name = "制单人")
    @Column(name = "producer_id")
    private Integer producer_id;

    /**
     * 单据编号
     */
    @Column(name = "out_num")
    @ApiModelProperty(value = "单据编号")
    private String out_num;

    /**
     * 开单日期
     */
    @Column(name = "step1_date")
    @ApiModelProperty(value = "开单日期")
    private String step1_date;

    /**
     * 总金额
     */
    @Column(name = "total_sum")
    @ApiModelProperty(value = "总金额")
    private Double total_sum;

    /**
     * 复合出库时间
     */
    @Column(name = "step2_date")
    @ApiModelProperty(value = "复合出库时间")
    private String step2_date;

    /**
     * 退货时间
     */
    @Column(name = "step3_date")
    @ApiModelProperty(value = "退货时间")
    private String step3_date;

    /**
     * 状态
     */
    @Column(name = "out_status")
    @ApiModelProperty(value = "状态")
    private String out_status;

    /**
     * 备注2
     */
    @Column(name = "step2_node")
    @ApiModelProperty(value = "备注2")
    private String step2_node;
    private List<StockInfo> stockInfos;


    public List<StockInfo> getStockInfos() {
        return stockInfos;
    }

    public void setStockInfos(List<StockInfo> stockInfos) {
        this.stockInfos = stockInfos;
    }

    public Integer getOutStock_id() {
        return outStock_id;
    }

    public void setOutStock_id(Integer outStock_id) {
        this.outStock_id = outStock_id;
    }


    public Integer getShop_id() {
        return shop_id;
    }

    public void setShop_id(Integer shop_id) {
        this.shop_id = shop_id;
    }


    public Integer getCustomer_id() {
        return customer_id;
    }

    public void setCustomer_id(Integer customer_id) {
        this.customer_id = customer_id;
    }


    public Integer getSaleman_id() {
        return saleman_id;
    }

    public void setSaleman_id(Integer saleman_id) {
        this.saleman_id = saleman_id;
    }


    public String getOut_date() {
        return out_date;
    }

    public void setOut_date(String out_date) {
        this.out_date = out_date;
    }


    public String getOut_address() {
        return out_address;
    }

    public void setOut_address(String out_address) {
        this.out_address = out_address;
    }


    public String getStep1_node() {
        return step1_node;
    }

    public void setStep1_node(String step1_node) {
        this.step1_node = step1_node;
    }


    public Integer getCheck_id() {
        return check_id;
    }

    public void setCheck_id(Integer check_id) {
        this.check_id = check_id;
    }


    public Integer getWarehouse_id() {
        return warehouse_id;
    }

    public void setWarehouse_id(Integer warehouse_id) {
        this.warehouse_id = warehouse_id;
    }


    public Integer getOutMan_id() {
        return outMan_id;
    }

    public void setOutMan_id(Integer outMan_id) {
        this.outMan_id = outMan_id;
    }


    public String getOut_num() {
        return out_num;
    }

    public void setOut_num(String out_num) {
        this.out_num = out_num;
    }


    public String getStep1_date() {
        return step1_date;
    }

    public void setStep1_date(String step1_date) {
        this.step1_date = step1_date;
    }


    public Double getTotal_sum() {
        return total_sum;
    }

    public void setTotal_sum(Double total_sum) {
        this.total_sum = total_sum;
    }


    public String getStep2_date() {
        return step2_date;
    }

    public void setStep2_date(String step2_date) {
        this.step2_date = step2_date;
    }


    public String getStep3_date() {
        return step3_date;
    }

    public void setStep3_date(String step3_date) {
        this.step3_date = step3_date;
    }


    public String getOut_status() {
        return out_status;
    }

    public void setOut_status(String out_status) {
        this.out_status = out_status;
    }


    public String getStep2_node() {
        return step2_node;
    }

    public void setStep2_node(String step2_node) {
        this.step2_node = step2_node;
    }

}
